package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.entity.Orders;

import java.text.ParseException;
import java.time.LocalDateTime;

public interface OrdersSerice {
    void submit(Orders order);

    Page pageOrder(Long userId, int page, int pageSize);

    Page pageAllOrder(int page, int pageSize, Integer number, LocalDateTime beginTime, LocalDateTime endTime);

    void updateStatusById(Long id, Long status);
}
